import React, {Component} from 'react';

class HellowWorld extends Component {
    constructor(props) {
        super(props)
        this.state = {
            age: 18,
        }
    }
    render() {
        const { name } = this.props
        const { age } = this.state
        return (
            <div className="HellowWorld">
                HellowWorld {name} and my age is {age}
            </div>
        );
    }
}

export default HellowWorld;
